import qAxios from '../utils/request'
//修改订单地址
export function updateOrderAddress(data) {
    return qAxios.post("/order/updateOrderAddress",data)
}
//修改密码
export function UpdatePassword(params){
    return qAxios.get('/user/updatePassword',{params})
}
//获取用户信息
export function getMeMsg(params){
    return qAxios.get('/user/info',{params})
}
//添加地址
export function addAddress(data){
    return qAxios.post('/address/add',data)
}
//获取地址列表
export function addressList(params){
    return qAxios.get('/address/list',{params})
}
//更新地址
export function updateAddress(data){
    return qAxios.post('/address/update',data)
}
//删除地址
export function removeAddress(data){
    return qAxios.post('/address/delete',data)
}
//查询默认地址
export function CxAddress(data){
    return qAxios.post('/address/defaultAddress',data)
}